package com.zznj.xzjc.adapter.index;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zznj.xzjc.R;

import java.util.List;
import java.util.Map;

import androidx.annotation.Nullable;

/**
 * 描述：添加类的描述
 */
public class AnLiBoBaoAdapter extends BaseQuickAdapter<Map<String,Object>, BaseViewHolder> {

    public AnLiBoBaoAdapter(int layoutResId, @Nullable List<Map<String,Object>> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, Map<String,Object> item) {
        helper.setText(R.id.tv_title,"投诉江津花园垃圾转运站危害市民安全");
        helper.setText(R.id.tv_date,"2020-10-22");
        helper.setText(R.id.tv_address,"湖北省");

    }
}
